\hypertarget{classsimple__map}{
\section{simple\_\-map Class Reference}
\label{classsimple__map}\index{simple\_\-map@{simple\_\-map}}
}


{\ttfamily \#include $<$eff\_\-small\_\-map.h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classsimple__map_a08f7861e98479135574e3be707b0d716}{simple\_\-map} (int N=0x7F)
\item 
virtual \hyperlink{classsimple__map_ac74fd80a1fc54a2e00bba0773b9861c2}{$\sim$simple\_\-map} ()
\item 
int \hyperlink{classsimple__map_a5949e03ae87e5bd7413f2ce8b54b67a1}{hash} (topic\_\-t key)
\item 
cnt\_\-t \hyperlink{classsimple__map_a8b5d1ee44355470620c0812695eaf904}{get} (topic\_\-t key)
\item 
void \hyperlink{classsimple__map_a2a6492f6894ec804a21dc3c6f16faa86}{put} (topic\_\-t key, cnt\_\-t val)
\item 
std::string \hyperlink{classsimple__map_a1da12607eef1b029cef35ad01afeb149}{print} ()
\item 
void \hyperlink{classsimple__map_ab4821c5c690ae253c92f91cdc1e80e68}{clear} ()
\end{DoxyCompactItemize}


\subsection{Constructor \& Destructor Documentation}
\hypertarget{classsimple__map_a08f7861e98479135574e3be707b0d716}{
\index{simple\_\-map@{simple\_\-map}!simple\_\-map@{simple\_\-map}}
\index{simple\_\-map@{simple\_\-map}!simple_map@{simple\_\-map}}
\subsubsection[{simple\_\-map}]{\setlength{\rightskip}{0pt plus 5cm}simple\_\-map::simple\_\-map (int {\em N} = {\ttfamily 0x7F})}}
\label{classsimple__map_a08f7861e98479135574e3be707b0d716}
\hypertarget{classsimple__map_ac74fd80a1fc54a2e00bba0773b9861c2}{
\index{simple\_\-map@{simple\_\-map}!$\sim$simple\_\-map@{$\sim$simple\_\-map}}
\index{$\sim$simple\_\-map@{$\sim$simple\_\-map}!simple_map@{simple\_\-map}}
\subsubsection[{$\sim$simple\_\-map}]{\setlength{\rightskip}{0pt plus 5cm}simple\_\-map::$\sim$simple\_\-map ()\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classsimple__map_ac74fd80a1fc54a2e00bba0773b9861c2}


\subsection{Member Function Documentation}
\hypertarget{classsimple__map_ab4821c5c690ae253c92f91cdc1e80e68}{
\index{simple\_\-map@{simple\_\-map}!clear@{clear}}
\index{clear@{clear}!simple_map@{simple\_\-map}}
\subsubsection[{clear}]{\setlength{\rightskip}{0pt plus 5cm}void simple\_\-map::clear ()}}
\label{classsimple__map_ab4821c5c690ae253c92f91cdc1e80e68}
\hypertarget{classsimple__map_a8b5d1ee44355470620c0812695eaf904}{
\index{simple\_\-map@{simple\_\-map}!get@{get}}
\index{get@{get}!simple_map@{simple\_\-map}}
\subsubsection[{get}]{\setlength{\rightskip}{0pt plus 5cm}cnt\_\-t simple\_\-map::get (topic\_\-t {\em key})}}
\label{classsimple__map_a8b5d1ee44355470620c0812695eaf904}
\hypertarget{classsimple__map_a5949e03ae87e5bd7413f2ce8b54b67a1}{
\index{simple\_\-map@{simple\_\-map}!hash@{hash}}
\index{hash@{hash}!simple_map@{simple\_\-map}}
\subsubsection[{hash}]{\setlength{\rightskip}{0pt plus 5cm}int simple\_\-map::hash (topic\_\-t {\em key})\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classsimple__map_a5949e03ae87e5bd7413f2ce8b54b67a1}
\hypertarget{classsimple__map_a1da12607eef1b029cef35ad01afeb149}{
\index{simple\_\-map@{simple\_\-map}!print@{print}}
\index{print@{print}!simple_map@{simple\_\-map}}
\subsubsection[{print}]{\setlength{\rightskip}{0pt plus 5cm}std::string simple\_\-map::print ()}}
\label{classsimple__map_a1da12607eef1b029cef35ad01afeb149}
\hypertarget{classsimple__map_a2a6492f6894ec804a21dc3c6f16faa86}{
\index{simple\_\-map@{simple\_\-map}!put@{put}}
\index{put@{put}!simple_map@{simple\_\-map}}
\subsubsection[{put}]{\setlength{\rightskip}{0pt plus 5cm}void simple\_\-map::put (topic\_\-t {\em key}, \/  cnt\_\-t {\em val})}}
\label{classsimple__map_a2a6492f6894ec804a21dc3c6f16faa86}


The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
src/Unigram\_\-Model/TopicLearner/\hyperlink{eff__small__map_8h}{eff\_\-small\_\-map.h}\item 
src/Unigram\_\-Model/TopicLearner/\hyperlink{eff__small__map_8cpp}{eff\_\-small\_\-map.cpp}\end{DoxyCompactItemize}
